package org.example.service;

import org.example.pojo.DRepairman;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.pojo.select.DRepairSelect;
import org.example.utils.Result;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
* @author chenhongkai
* @description 针对表【d_repairman(维修工人)】的数据库操作Service
* @createDate 2024-05-27 09:39:56
*/
public interface DRepairmanService extends IService<DRepairman> {

    public Result<Map> SelectAllRepairmans(DRepairman dRepairman);
    public Result<DRepairman> SelectOneRepairman(DRepairman dRepairman);
    public Result<DRepairman> UpdateRepairmanById(DRepairman dRepairman);
    public Result<List<DRepairman>> SelectByType(DRepairman dRepairman);

    public Result<List<DRepairman>> AddRepairman(DRepairman dRepairman);

    public Result<DRepairman> DeleteRepairman(DRepairman dRepairman);
}
